package cn.quicklydoit.service;

import cn.quicklydoit.entity.User;

import javax.ws.rs.core.Response;

public interface UserService {

    void createUser(User user);

    int insert(User user);

    Iterable<User> getAll();

    Response login(User user);

    /**
     * 发送验证码
     * @param user
     */
    Response sendValidValues(User user,String methodName);


    Response register(User user);
}
